#import <Cocoa/Cocoa.h>
#import <SMRColumnView/SMRColumnView.h>


@class ALApp;
@class ALMainWindowController;
@class ALAppInfoPopoverController;

@interface ALSourceListViewController : NSObject <SMRColumnViewDelegate> {
}

@property (nonatomic) IBOutlet NSArrayController *appsArrayController;
@property (nonatomic, retain) IBOutlet SMRColumnView *sourceListColumnView;
@property (nonatomic, assign) IBOutlet SMRColumnEntry *sourceListEntryPrototype;
@property (nonatomic, retain) IBOutlet NSManagedObjectContext *managedObjectContext;
@property (nonatomic, retain) IBOutlet ALMainWindowController *mainWindowController;
@property (nonatomic, readonly) ALAppInfoPopoverController *appInfoPopoverViewController;
@property (nonatomic, readonly) NSPopover *appInfoPopover;

-(IBAction)appInfoPopover:(id)sender;

-(void)sourceListSelectionDidChange:(NSNotification *)note;
-(ALApp *)selectedApp;

@end
